# -*- coding:utf-8 -*-
from qiniu import Auth, QiniuMacAuth, http
import json

access_key = 'x0abHv3YMHSK_Gii2KM9CVPIC25EYg__LrkBId5c'
secret_key = 'oNXf-Ibo7E341Zz2QXfWBrlZP0BVTV-Z86fxcqGE'

auth = QiniuMacAuth(access_key, secret_key)

# 请求体
body = None

url = 'http://rsf.qiniuapi.com/list?bucket=lixianhe-cdn'
ret, res = http._post_with_qiniu_mac(url, body, auth)

print(ret)
print(res)